/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.lotus.tep.ui;

import com.lotus.tep.constant.MessageUiConstant;
import java.awt.Component;
import javax.swing.JOptionPane;

/**
 *
 * @author NIIT
 */
public class MessageUi {

	public static void info(Component c, String msg) {
		JOptionPane.showMessageDialog(c, msg, MessageUiConstant.TITLE_INFO, MessageUiConstant.MSG_INFO);
	}
	public static void error(Component c, String msg) {
		JOptionPane.showMessageDialog(c, msg, MessageUiConstant.TITLE_ERROR, MessageUiConstant.MSG_ERROR);
	}
}
